package com.woniuxy.authapp.app.config;//package com.woniuxy.config;
//
//import com.macro.mall.common.config.BaseSwaggerConfig;
//import com.macro.mall.common.domain.SwaggerProperties;
//import org.springframework.beans.factory.config.BeanPostProcessor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import springfox.documentation.swagger2.annotations.EnableSwagger2;
//
///**
// * Swagger API文档相关配置
// * Created by macro on 2018/4/26.
// */
//@Configuration
//@EnableSwagger2
//public class SwaggerConfig extends BaseSwaggerConfig {
//
//    @Override
//    public SwaggerProperties swaggerProperties() {
//        return SwaggerProperties.builder()
//                .apiBasePackage("com.macro.mall.auth.controller")
//                .title("mall认证中心")
//                .description("mall认证中心相关接口文档")
//                .contactName("macro")
//                .version("1.0")
//                .enableSecurity(true)
//                .build();
//    }
//
//    @Bean
//    public BeanPostProcessor springfoxHandlerProviderBeanPostProcessor() {
//        return generateBeanPostProcessor();
//    }
//}
